html, body{
	margin:0;
	width:100%;
	height:100%;
	height: 100%;
	background-color: white !important;
}

/* NAV */

nav {
	color:white;
	top: 0;
	left: 0;
	background-color: black;
	z-index: 3; /* Si se quita falla el menú */
}

nav > ul {
	display:flex;
	flex-direction:row;
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: #2a579a;
}

nav input{
	display: block;
	width: 137.2px;
	height:34px;
	position: absolute;
	cursor: pointer;
	opacity: 0; /* esconde el botón */
	z-index: 3; /* lo coloca por encima del menú hamburguesa */
}
nav .submenu img{
	width:30px;
	height:30px;
	margin-left: 40%;
}

nav input{
	display: block;
	width: 137.2px;
	height:34px;
	position: absolute;
	cursor: pointer;
	opacity: 0;
	z-index: 3;
}

nav .submenu img{
	width:30px;
	height:30px;
	margin-left: 40%;
}

img:hover ~ .tooltip{
	position:absolute;
	z-index:1;
	top:0;
	overflow: visible;
}

nav li {
	float: left;
	margin:auto auto;
	display:flex;
	flex: 1;
	justify-content: center;
	align-items: center;
}

nav li a {
	margin: auto;
	display: block;
	color: white;
	text-align: center;
	padding: 1.1em 1.1em;
	text-decoration: none;
}
.logo{
	width:130px;
	padding:0 0;

}

.titles a{
	margin-top: 5px;
	margin-bottom: 5px;
	display:block;
}

.logo > img{
	width:130px;
}
#label-menu{
	position:absolute;
	z-index:-1;
}

.checkbox_change_editor{
	opacity:0;
	width:40px;
	position:absolute;
	margin: 2px 0 3px 0;
	height:32px;
}


.checkbox_change_editor:checked > .checkbox-text,
.checkbox_change_editor:checked ~ .checkbox-text {
	color:black;
	background-color:#c8cbcf;
	border:0;
	border-radius:3px;

}

/* DESKTOP WORKFLOW */
@media only screen and (min-width: 910px) {
	#pdf-aside{
		width:50%;
	}
	.row{
		flex-direction:row !important;
	}
	.limit_width{
		max-width:85% ;
	}
}

/* MOBILE WORKFLOW */

@media only screen and (max-width: 900px) {
	#pdf-aside{
		height:100% !important;
		width:100% !important;
	}
	.overflow-container{
		border-bottom:1px solid #ccc;
	}
	.row{
		flex-direction:column !important;
		width:100%;

	}
	#titles-aside{
		width:100% !important;
	}
	.titles{
		width:100%;
	}
	.limit_width{
		max-width:100% !important;
	}
}



nav input:checked > .submenu ul,
.submenu input:checked ~ ul {
	visibility: visible;
	opacity: 1;
	display: flex;
	flex-direction: column;
	top:50px;
	margin:0;
}

.active {
	display:none;
	margin-top:10px;
}
.submenu input:checked ~ .not-active {
	display:none;
}
.submenu input:checked ~ .active {
	display:block;
	margin-top:10px;
}


/* CHANGE EDITOR BUTTON */

.checkbox-text{
	display:flex;
	align-items:center;
	justify-content: center;
	height:34px;
	width:50px;
}
.checkbox-text img{
	width: 40px;
	height: 30px;
}

/* FOOTER */

footer {
	float:left;
	width:100%;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #2a579a;
	color: white;
}

footer > ul {
	display:flex;
	flex-direction:row;
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: #2a579a;
}

footer li {
	float: left;
	margin:auto auto;
	display:flex;
	flex: 1;
	justify-content: center;
	align-items: center;
}

footer li a {
	margin: auto;
	display: block;
	color: white;
	text-align: center;
	padding: 1.1em 1.1em;
	text-decoration: none;
}

footer li a:hover {
	background-color: #2a579a;
}
#options{
	background-color: white;
	margin :20px;
	min-width:100px;
}

#options li:hover{
	background-color: #dee0e2;
}

#options input:hover{
	background-color: #dee0e2;
}

footer img{
	width:25px;
}

footer li a {
	margin: auto;
	display: block;
	color: white;
	text-align: center;
	padding: 0;
	text-decoration: none;
}

footer a:hover {
	background-color: #111;
}

.change-editor{
	right:10%;
	z-index:2;
	margin-bottom: 2px;
	margin-bottom: 5px;
	margin-left: 80px;
}

.submenu{
	width:137.2px;
	margin: auto auto;
}


/* a container with flex-direction column */
.main-container {
	height: 100%; /* or position:absolute; height:100%; */
	display: flex;
	flex-direction: column;
	background: #fff;
}

#name_div{
	width: 100px !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* an arbitrary container of fixed height */
.fixed-container {
	color: black;
}

/* this is the flex container that will take the rest of the height */
.content-wrapper {
	display: flex;
	flex: 1;
	min-height: 0px; /* IMPORTANT: you need this for non-chrome browsers */
	max-width:100%;
}

.content-with-asides {
	display: flex;
	flex: 1;
	min-height: 0px; /* IMPORTANT: you need this for non-chrome browsers */
}

/* the container for our overflowed content */
.overflow-container {
	flex: 1;
	overflow: auto;
}

/* the overflow content itself */
.overflow-content {
	height: 100%;
	color: black;
	padding-left: 20px;
	padding-top: 20px;
	margin-bottom: 20px;
}

.overflow-content div{
	background-color:#d3d3d3;
}

.overflow-content div:not([class]){
	background-color:white !important;
}

div[contenteditable="true"], .image{
	background-color:white !important;
}

.visual-editor div, .code-editor div{
	margin:5px;
}

.visual-editor h1, .code-editor h1, .visual-editor h2, .code-editor h2, .visual-editor h3, .code-editor h3{
	text-align: center;

}



.overflow-content img{
	user-select: none;
	pointer-events: none;
}

.overflow-content li{
	margin: 15px;
}


.visual-editor-container{
	height:100%;
}
.code-editor-container{
	width:100%;
	display:none;
	height:100%;
}
#pdf-aside{
	display:none;
	resize:horizontal;
	width:50%;

}
#bookmark-aside{
	display:none;
	width: 20%;
	border-right: 1px solid #ccc;
}
.overflow-container > *{

	margin-right:10px;
	max-width:100%;
}

#options{
	display:none;
}



.visual-editor img{
	resize:both;
	max-width:400px;
	max-height:400px;

}

.column{
	display:flex;
	flex-direction:column;
}

.visual-editor:focus, .code-editor:focus {
	outline: none;
}
.visual-editor > div:focus, .code-editor > div:focus {
	outline: none;
}


footer label{
	color:white;
}
.name{
	background-color: white;
	opacity: 1 !important;
}

.padding{
	padding:10px;
}

